package com.hsomandroidapp.list;

import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.hsomandroidapp.R;
import com.hsomandroidapp.base.ImageLoadTask;

public class RestaurantItemViewHolder {
	
	public TextView contentTextView;
	public ImageView productImage;
	public ImageLoadTask loadTask;

	public RestaurantItemViewHolder(View view){
		contentTextView  = (TextView)view.findViewById(R.id.tv_product_info);
		productImage = (ImageView)view.findViewById(R.id.iv_head_image);
	}
	
	public void reset(){}
	public void recycle() {
		if (this.loadTask != null)
			this.loadTask.cancel(true);
		 this.loadTask = null;
	}
}
